import request from '@/utils/request'

// 获取文章分类列表
export const getListAPI = () => request.get('/my/cate/list')

// 添加分类
export const addListAPI = data => request.post('/my/cate/add', data)

// 删除文章分类
export const delListAPI = id => request.delete('/my/cate/del', { params: { id } })

// 编辑文章分类
export const updateListAPI = data => request.put('/my/cate/info', data)
